package com.example.crawler.excel.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.example.crawler.excel.annotation.Cell;
import com.example.crawler.excel.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Excel(beginRow=1,dataHeader="最新发布日期:1,申请人:2")
@Data
@EqualsAndHashCode(callSuper = false)
public class HKCompany {
    @Cell(columnNum="1")
    @ExcelProperty("最新发布日期")
    @ColumnWidth(20)
    private String date;

    @Cell(columnNum="2")
    @ExcelProperty("申请人")
    @ColumnWidth(60)
    private String name;

}
